-- GENERATED SPELL FOR [Redridge Basher] --


function spell0_446(pUnit, Event) --@Knockdown,n/a--
pUnit:FullCastSpellOnTarget(5164,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_446', 2000, 1)
end

function spell1_446(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(11977,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_446', 15000, 1)
end

function Sorts_446(pUnit, Event)
local choix_sorts_446 = math.random(0, 1)
if choix_sorts_446 == 0 then
pUnit:RegisterEvent('spell0_446', 1, 1)
end
if choix_sorts_446 == 1 then
pUnit:RegisterEvent('spell1_446', 1, 1)
end
end

function mob446_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_446', math.random(1500, 3000), 1)
end

function mob446_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob446_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob446_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(446, 1, 'mob446_Action')
RegisterUnitEvent(446, 2, 'mob446_Leave')
RegisterUnitEvent(446, 3, 'mob446_Kill')
RegisterUnitEvent(446, 4, 'mob446_Die')
